<template>
  <div class="shopInfo_container">
    <div class="shopInfo_container__top">
      <div class="shopInfo_container__top__leftTitle">
        <el-icon class="shopInfo_container__top__leftTitle__icon"
          ><DataLine
        /></el-icon>
        <span>支付管理</span>
      </div>
      <div class="shopInfo_container__top__rightOption">[退出]</div>
    </div>
    <el-divider />
    <div class="shopInfo_container__bottom">
      <div class="shopInfo_container__bottom__topOption">
        <div class="shopInfo_container__bottom__topOption__oneIpt">
          <h3 class="shopInfo_container__bottom__topOption__oneIpt__title">
            支付渠道设置
          </h3>
          <div class="shopInfo_container__bottom__topOption__oneIpt__content">
            <el-form :model="form" style="display: flex">
              <el-form-item
                label="支付宝支付默认渠道"
                style="margin-right: 50px"
              >
                <el-select v-model="form.region" placeholder="请选择默认通道">
                  <el-option label="支付宝直连" value="pay1" />
                  <el-option label="富有支付" value="pay2" />
                  <el-option label="新生支付" value="pay3" />
                </el-select>
              </el-form-item>
              <el-form-item label="微信支付默认渠道">
                <el-select v-model="form.region" placeholder="请选择默认通道">
                  <el-option label="微信直连" value="wxpay1" />
                  <el-option label="富有支付" value="wxpay2" />
                  <el-option label="新生支付" value="wxpay3" />
                </el-select>
              </el-form-item>
            </el-form>
          </div>
        </div>
        <div class="shopInfo_container__bottom__topOption__twoIpt">
          <h3 class="shopInfo_container__bottom__topOption__twoIpt__title">
            支付费率设置
          </h3>
          <div class="shopInfo_container__bottom__topOption__twoIpt__content">
            <el-form :model="form" style="display: flex">
              <el-form-item label="支付宝直连费率" style="margin-right: 50px">
                <el-input
                  v-model="form.name"
                  placeholder="请选择支付宝直连费率 %"
                />
              </el-form-item>
              <el-form-item label="微信支付默认渠道">
                <el-input
                  v-model="form.name"
                  placeholder="请选择支付宝直连费率 %"
                />
              </el-form-item>
            </el-form>
          </div>
        </div>
        <div class="shopInfo_container__bottom__topOption__threeIpt">
          <h3 class="shopInfo_container__bottom__topOption__threeIpt__title">
            支付信息设置
          </h3>
          <div class="shopInfo_container__bottom__topOption__threeIpt__content">
            <el-form
              :model="form"
              style="
                display: flex;
                flex-wrap: wrap;
                justify-content: space-between;
              "
              label-position="left"
            >
              <el-form-item label="支付宝直连费率">
                <el-input v-model="form.name" />
              </el-form-item>
              <el-form-item label="微信支付默认渠道">
                <el-input v-model="form.name" />
              </el-form-item>
              <el-form-item label="支付宝直连费率">
                <el-input v-model="form.name" />
              </el-form-item>
              <el-form-item label="微信支付默认渠道">
                <el-input v-model="form.name" />
              </el-form-item>
              <el-form-item label="支付宝直连费率">
                <el-input v-model="form.name" />
              </el-form-item>
              <el-form-item label="微信支付默认渠道">
                <el-input v-model="form.name" />
              </el-form-item>
              <el-form-item label="支付宝直连费率">
                <el-input v-model="form.name" />
              </el-form-item>
              <el-form-item label="微信支付默认渠道">
                <el-input v-model="form.name" />
              </el-form-item>
            </el-form>
          </div>
        </div>
      </div>
      <div class="shopInfo_container__bottom__bottomBtn">
        <el-button type="info">取消</el-button>
        <el-button type="success">确认</el-button>
      </div>
    </div>
  </div>
</template>
<script setup>
import { reactive } from "vue";
import { DataLine } from "@element-plus/icons-vue";

const form = reactive({
  region: "",
  name: "",
});
</script>
<style lang="scss" scoped>
.shopInfo_container {
  width: 95%;
  height: 800px;
  background-color: #fff;
  margin-top: 20px;
  padding: 20px 10px;
  box-sizing: border-box;
  &__top {
    display: flex;
    justify-content: space-between;
    padding: 0 10px;
    &__leftTitle {
      display: flex;
      align-items: center;
      &__icon {
        color: #68bbc4;
      }
      & span {
        margin-left: 10px;
      }
    }
  }
  &__bottom {
    margin-left: 20px;
    &__topOption {
      &__oneIpt {
        margin-bottom: 4%;
        &__title {
          margin-bottom: 20px;
        }
      }
      &__twoIpt {
        margin-bottom: 4%;
        &__title {
          margin-bottom: 20px;
        }
      }
      &__threeIpt {
        margin-bottom: 4%;
        &__title {
          margin-bottom: 20px;
        }
      }
    }
    &__bottomBtn {
      display: flex;
      justify-content: center;
      margin-top: 5%;
      & button {
        width: 100px;
      }
    }
  }
}
</style>
